import "reflect-metadata";
import app from './src/bootstrap';
import Db from './src/database';
import dotenv from 'dotenv';
dotenv.config({
  path: `${__dirname}/../.env`
});

Db().then((connect) => {
  app.listen(process.env.HTTP_PORT, () => {
    console.log('server start pid:', process.pid);
  });
}) 


